﻿@namespace MXERP.Client.Pages

<Modal Title="修改应用" >
    <ChildContent>
        <MudForm>
            <MudGrid>
                <MudItem xs="12">
                    <MudTextField T="string" Label="Outlined" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="12">
                    <MudField Label="类型" Variant="Variant.Text" Margin="Margin.Dense" Underline="false">
                        <MudRadioGroup T="int">
                            <MudRadio Value="1" Size="Size.Small">Radio 1</MudRadio>
                            <MudRadio Value="2" Size="Size.Small">Radio 2</MudRadio>
                            <MudRadio Value="3" Size="Size.Small">Radio 3</MudRadio>
                            <MudRadio Value="4" Size="Size.Small">Radio 4</MudRadio>
                        </MudRadioGroup>
                    </MudField>
                </MudItem>
                <MudItem xs="6">
                    <MudTextField T="string" Label="应用名称" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="6">
                    <MudTextField T="string" Label="排序" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="6">
                    <MudTextField T="string" Label="路由名称" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="6">
                    <MudTextField T="string" Label="图标" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="12">
                    <MudTextField T="string" Label="路由路径" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="12">
                    <MudTextField T="string" Label="组件名称" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="12">
                    <MudTextField T="string" Label="许可证" Variant="Variant.Outlined" Margin="Margin.Dense" ShrinkLabel></MudTextField>
                </MudItem>
                <MudItem xs="6">
                    <MudField Label="页面缓存" Variant="Variant.Text" Margin="Margin.Dense" Underline="false">
                        <MudSwitch T="bool" Color="Color.Primary" />
                    </MudField>
                </MudItem>
                <MudItem xs="6">
                    <MudField Label="是否固定" Variant="Variant.Text" Margin="Margin.Dense" Underline="false">
                        <MudSwitch T="bool" Color="Color.Primary" />
                    </MudField>
                </MudItem>
                <MudItem xs="6">
                    <MudField Label="是否支持多个Tab" Variant="Variant.Text" Margin="Margin.Dense" Underline="false">
                        <MudSwitch T="bool" Color="Color.Primary" />
                    </MudField>
                </MudItem>
                <MudItem xs="6">
                    <MudField Label="是否隐藏" Variant="Variant.Text" Margin="Margin.Dense" Underline="false">
                        <MudSwitch T="bool" Color="Color.Primary" />
                    </MudField>
                </MudItem>
                <MudItem xs="6">
                    <MudField Label="是否外链" Variant="Variant.Text" Margin="Margin.Dense" Underline="false">
                        <MudSwitch T="bool" Color="Color.Primary" />
                    </MudField>
                </MudItem>
                <MudItem xs="6">
                    <MudField Label="是否内嵌" Variant="Variant.Text" Margin="Margin.Dense" Underline="false">
                        <MudSwitch T="bool" Color="Color.Primary" />
                    </MudField>
                </MudItem>
                <MudItem xs="12">
                    <MudTextField T="string" Label="备注" Variant="Variant.Outlined" ShrinkLabel Lines="3" />
                </MudItem>
            </MudGrid>
        </MudForm>
    </ChildContent>
    <ButtonContent>
        <MudButton Variant="Variant.Filled" Color="Color.Primary" StartIcon="@Icons.Material.Filled.Save">保存</MudButton>
    </ButtonContent>
</Modal>

@code {
    
}
